#!/usr/bin/env python3

from flask import Flask
import flask_restful
#from flask.ext import restful

app=Flask(__name__)
api=flask_restful.Api(app)

class HelloWorld(flask_restful.Resource):
    def get(self):
        return {'hello':'get'}
    def post(self):
        return {'hello':'post'}

api.add_resource(HelloWorld,'/')

if __name__ == '__main__':
    app.run(host="192.168.0.139",port=12018,debug=True)
